
package com.szpx.entity.BEQ;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.Id;
import javax.persistence.Table;
import tk.mybatis.mapper.annotation.KeySql;

import java.io.Serializable;
import java.util.Date;

/**
 * 驾驶课程实体类
 */
@Data
@Table(name = "driving_courses")
@Getter
@Setter
@ToString
public class kaiban implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    private String courseName;      // 课程名称
    private String coach;           // 教练
    private String location;        // 地点
    private Date startTime;         // 开始时间
    private Date endTime;           // 结束时间
    private String status;          // 状态: available/full/closed
    private Integer capacity;       // 容量
    private Double price;           // 价格
    private String description;     // 描述
}